const mongoose = require("mongoose");
const goodsModel = mongoose.model("goods");

let getGoods = async()=>{
    const data = await goodsModel.find();
    return data;
}

module.exports = {
    getGoods,
}